#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

const int M = 1e9 + 7;

int t;
ll n;

int main()
{
#ifdef LOCAL
    freopen("in.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
#endif
    ios::sync_with_stdio(false), cin.tie(0);
    cin >> t;
    while (t--)
    {
        cin >> n;
        ll res;
        if (n <= 6)
            res = 15;
        else if (n & 1)
            res = (n + 1) * 5 / 2;
        else
            res = n * 5 / 2;
        cout << res << endl;
    }

    return 0;
}